pub fn new_birthday_probability(n: u32) -> f64 {

    let p_no_brithday: f64 = (0..n)
        .into_iter()
        .map(|x| (365.0 - x as f64)  / 365.0)
        .product();
    println!("{} \n {}", p_no_brithday, (1.0 - p_no_brithday));

    ((1.0 - p_no_brithday)*10000.0).round() / 10000.0
}
